package com.ax.business.prescription.service;

import java.util.Map;

import javax.servlet.http.HttpServletRequest;

import org.springframework.web.bind.annotation.RequestParam;

import com.ax.business.common.util.PageUtils;
import com.ax.business.prescription.domain.BaseAssociator;
import com.ax.business.prescription.domain.PrescriptionAudit;
import com.ax.business.prescription.domain.PrescriptionMast;

public interface PrescriptionService {
	/**
	 * 查看个人处方详情(或全部)
	 * 
	 * @param Map<String, Object> map,request
	 *           
	 * @return PageUtils
	 */
	public PageUtils queryPrescriptionSer(Map<String, Object> params,HttpServletRequest request);
	
	/**
	 * 查看处方审核详情(或全部)
	 * 
	 * @param Map<String, Object> map,request
	 *           
	 * @return PageUtils
	 */
	public PageUtils queryPrescriptionAuditingSer(Map<String, Object> params,HttpServletRequest request);
	
	/**
	 * 新增处方(模块:(新增)会员(*会员头像的截取),处方审核信息,摄像头视频录制保存)
	 * 
	 * @param PrescriptionMast prescriptionMast,BaseAssociator baseAssociator,PrescriptionAudit prescriptionAudit
	 * String[] parameter
	 *           
	 * @return SUCC
	 */
	public void insertPrescriptionSer(HttpServletRequest request,PrescriptionMast prescriptionMast,BaseAssociator baseAssociator,PrescriptionAudit prescriptionAudit,String[] parameter);

	/**
	 * 处方审核(模块:药师审核处方(分两种1.本系统医师所开处方2.非本系统医师所开处方))
	 * 
	 * @param PrescriptionMast prescriptionMast,PrescriptionAudit prescriptionAudit,Integer 
	 *           
	 * @return SUCC
	 */
	public void insertOrUpdateAuditingSer(Integer type,HttpServletRequest request,PrescriptionMast prescriptionMast,PrescriptionAudit prescriptionAudit);

}
